Html Tag Review

We will try to explain the features in detail by examining the html <h> tag. The <h> tag is used for the title and consists of 6 types of length. The largest length is the <h1> tag. From the <h1> tag to the <h6> tag, the dimensions go down.

 

<h> Tag Features:

id for identification. must be unique.
class css class name should be written.
style css definitions should be made.
title header information
lang languages information
dir indicates the direction of the entered text. ltr or rtl

 

<h> Etiketinin Olayları:

onkeypress This event occurs when a key is pressed while on the <h> tag.
onkeydown This event occurs when a key is first pressed on the <h> tag.
onkeyup This event occurs when the key pressed on the <h> tag is released.
onmousedown This event occurs when the mouse button is pressed while on the <h> tag.
onmouseup This event occurs when the mouse button is pressed while on the <h> tag.
onmousemove This event occurs when the mouse button that is pressed on the <h> tag is released.
onmouseout This event occurs when the mouse pointer is moved on the <h> tag.
onmouseover This event occurs when the mouse pointer is moved outside the <h> tag.
onclick This event occurs when the <h> tag is clicked on with the keyboard or mouse.
ondblclick This event occurs when the <h> tag is double-clicked with the keyboard or mouse.

 

Output:

Başlık <H1>

Başlık <H2>

Başlık <H3>

Başlık <H4>

Başlık <H5>
Başlık <H6>

 

Tagged In:

Software developer

26 Total Posts